package com.example.demo.mapper;

import com.example.demo.pojo.entity.Result;
import com.example.demo.pojo.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDateTime;

@Mapper
public interface UserMapper {
    void register(String username, String password, LocalDateTime  create_time);

    User login(String username);

    void is_trial(String username);

    User getBuyId(Long id);
}
